package com.church.action;

import com.church.services.UserServices;

public class EditUser extends ChurchActionSupport {
	private static final long serialVersionUID = 1L;
	private UserServices userServices;
	private int id;
	private boolean response;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}

 
	public UserServices getUserServices() {
		return userServices;
	}

	public void setUserServices(UserServices userServices) {
		this.userServices = userServices;
	}

 
	
	public boolean isResponse() {
		return response;
	}

	public void setResponse(boolean response) {
		this.response = response;
	}

	public String removeUser()
	{
		response = userServices.remove(id).equals("success");
		return SUCCESS;
	}
}
